#ifndef HTTPREQUEST_H
#define HTTPREQUEST_H

#include <QObject>
#include <QMap>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QEventLoop>
#include <QDebug>
#include <QNetworkRequest>
class HttpRequest : public QObject
{
        Q_OBJECT
    public:
        explicit HttpRequest(QObject *parent = nullptr);
        static bool post_request(QString Url,QMap<QString,QString> header,QByteArray& requestData,QByteArray& replyData);
    signals:
};

#endif // HTTPREQUEST_H
